import request from '@/utils/request'

// 短剧列表
export function dramaLists(params?: Record<string, any>) {
    return request.get({ url: '/client/drama/list', params })
}

// 角色列表
export function dramaAll(params?: any) {
    return request.get({ url: '/client/drama/all', params })
}

// 短剧详情
export function dramaDetail(params: Record<string, any>) {
    return request.get({ url: '/client/drama/detail', params })
}

// 短剧新增
export function dramaAdd(params: Record<string, any>) {
    return request.post({ url: '/client/drama/add', params })
}

// 短剧编辑
export function dramaEdit(params: Record<string, any>) {
    return request.post({ url: '/client/drama/edit', params })
}

// 短剧删除
export function dramaDelete(params: Record<string, any>) {
    return request.post({ url: '/client/drama/del', params })
}
